package lambda;

import lombok.Getter;
import lombok.Setter;

/**
 * Author:ZouHeng
 * Description:
 * Date:2021-07-02  15:54
 **/
@Getter
@Setter
public class LambdaImpl {
    private String name;

    public LambdaImpl(String name) {
        this.name = name;
    }

    public String buildName(LambdaInterface lambdaInterface){
        return lambdaInterface.getName(this.name);
    }
}
